package com.gx.cn.hospitalmanage.Fragment;

import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.TextView;

import com.gx.cn.hospitalmanage.MainActivity;
import com.gx.cn.hospitalmanage.R;

/**
 * Created by JCQ on 2017/9/27.
 */

public class MyFragment2 extends Fragment  {


    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.myfragment_two,container,false);
        TextView txt_content = (TextView) view.findViewById(R.id.txt_content);
      //  txt_content.setText("第二个Fragment");
        Log.e("HEHE", "第二个MyFragment");


        return view;
    }




}
